```ts
// Import minimal modules required for sparklines
import { ModuleRegistry } from "ag-grid-community";
import { SparklinesModule } from "ag-grid-enterprise";
import { AgChartsCommunityModule } from 'ag-charts-community';

ModuleRegistry.registerModules([
    SparklinesModule.with(AgChartsCommunityModule)
]);
```